home *** CD-ROM | disk | FTP | other *** search
- # This is a UNIX termcap for FANSI-CONSOLE in NON-VT100 MODE.
- # It works with communications programs that interface with the console
- # through BIOS or DOS calls. Visual editors such as 'vi' and 'emacs'
- # perform quite well using this termcap.
- #
- # This is an "annotated" termcap; each terminal capability below is
- # accompanied by an explanatory comment. In order to work, the
- # termcap should be edited to remove each such comment, replacing
- # it by a single tab character. This can be accomplished easily
- # on a UNIX system by first removing this header commentary and
- # then executing the sed command:
- #
- # sed -e 's/^#[^:]*:/ :/' termcap > newtermcap
- #
- # (That's a single tab character between the second '/' and the
- # following ':'.) The comments will be removed and the result
- # written to the file 'newtermcap'.
- #
- # Execute 'tset' to define keypad functions. Should work with other
- # programs using termcap, but don't expect the keypad keys to do anything
- # useful.
- #
- # Note: Tabbing will not always be done correctly unless MS-DOS program writes
- # in RAW mode to console. Otherwize MS-DOS gets in the way!
- #
- # Our thanks to John Remmers at itivax!emucsc!remmers or itivax!m-net!remmers.
- #
- fc|fansi|Fansi-Console ANSI X3.64 Emulator for IBM PC in non-VT100 mode:\
- #end alt char set :ae=^O:\
- #add new blank line :al=\E[L:\
- #add many blank lines :AL=\E[%dL:\
- #has auto margins :am:\
- #start alt char set :as=^N:\
- #bell :bl=^G:\
- #can backspace with ^H :bs:\
- #back tab :bt=\E[Z:\
- #back many tabs :BT=\E[%dZ:\
- #backspace wraps :bw:\
- #clear to end of displ. :cd=\E[J:\
- #clear to end of line :ce=\E[K:\
- #horiz. cursor motion :ch=\E[%dG:\
- #clear screen :cl=\E[H\E[J:\
- #cursor motion :cm=\E[%i%d;%dH:\
- #number of columns :co#80:\
- #carriage return :cr=^M:\
- #change scroll region :cs=\E[%i%d;%dr:\
- #clear tab stops :ct=\E[3g:\
- #vert. cursor motion :cv=\E[%i%dd:\
- #delete a character :dc=\E[P:\
- #delete many characters :DC=\E[%dP:\
- #delete line :dl=\E[M:\
- #delete many lines :DL=\E[%dM:\
- #cursor down 1 line :do=\E[B:\
- #cursor down many lines :DO=\E[%dB:\
- #end insert mode :ei=\E[4l:\
- #home cursor :ho=\E[H:\
- #insert many characters :IC=\E[%d@:\
- #enter insert mode :im=\E[4h:\
- #initialization string :is=\Ec\E[1;25r\E[?7h\E[>20h\E[20l\E[4l\E[m\E(B\E)0^O\E[>0;0;72;"\EA"p\E[>0;0;80;"\EB"p\E[>0;0;71;"\EH"p\E[>0;0;75;"\ED"p\E[>0;0;77;"\EC"p\E[>0;0;79;"L"p\E[>0;0;73;"8^Y"p\E[>0;0;81;"8^E"p\E[>0;0;82;"i"p\E[>0;0;83;"x"p\E[>8l:\
- #initial tab spacing :it#8:\
- #sent by bs key (del) :kb=^?:\
- #sent by down arrow key :kd=\EB:\
- #sent by macro off key :ke=\E[>8l:\
- #sent by home key :kh=\EH:\
- #sent by left arrow key :kl=\ED:\
- #sent by rt. arrow key :kr=\EC:\
- #sent by macro on key :ks=\E[>8h:\
- #sent by up arrow key :ku=\EA:\
- #move cursor left :le=^H:\
- #move cursor far left :LE=\E[%dD:\
- #number of display lns :li#25:\
- #start blinking :mb=\E[5m:\
- #start boldface :md=\E[1m:\
- #start normal rendition :me=\E[m:\
- #start low intensity :mh=\E[2m:\
- #start concealed :mk=\E[8m:\
- #safe to move in insert :mi:\
- #start reverse video :mr=\E[7m:\
- #move ok in stdout, ul :ms:\
- #non-destructive space :nd=\E[C:\
- #cursor rt. many spaces :ND=\E[%dC:\
- #newline character :nl=^J:\
- #new line with return :nw=\E[E:\
- #has hardware tabs :pt:\
- #restore cursor :rc=\E[u:\
- #file with tab set seq :rf=/usr/lib/tabset/vt100:\
- #repeat character :rp=%c\E[%db:\
- #reset string :rs=\Ec\E[1;25r\E[?7h\E[>20h\E[20l\E[4l\E[m\E(B\E)0^O\E[>8l:\
- #save cursor position :sc=\E[s:\
- #end standout mode :se=\E[27m:\
- #scroll forwards :sf=\E[S:\
- #scroll far forwards :SF=\E[%dS:\
- #begin standout mode :so=\E[7m:\
- #scroll reverse :sr=\E[T:\
- #scroll reverse many :SR=\E[%dT:\
- #tab forward :ta=\E[I:\
- #tab far forward :TA=\E[%dI:\
- #end underscore mode :ue=\E[24m:\
- #can ul but not ovrstk :ul:\
- #cursor up :up=\E[A:\
- #cursor up many lines :UP=\E[%dA:\
- #start underscore mode :us=\E[4m:\
- #window initialize :wi=\E[%i%d;%d;%d;%dr\
- #nl ignored after wrap :xn: